﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SAM.Framework.MockData
{
    public interface IMock
    {
        /// <summary>
        /// 模拟一份数据
        /// </summary>
        /// <typeparam name="T">需要模拟的数据类型</typeparam>
        /// <param name="codeStr">产生模拟数据的代码段</param>
        /// <returns></returns>
        T Mock<T>(string codeStr);        

    }
}
